<template>
  <div id="app">
    <div class="header-wrapper">
      <wty-header></wty-header>
    </div>
    <div class="nav-content">
      <div class="nav-wrapper">
        <wty-nav></wty-nav>
      </div>
      <div class="content-wrapper">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
import wtyHeader from "@/components/wty-header/wty-header.vue";
import wtyNav from "@/components/wty-nav/wty-nav.vue";
import wtyContent from "@/components/wty-content/wty-content.vue";
export default {
  data() {
    return {};
  },
  created() {},
  methods: {},
  components: {
    wtyHeader,
    wtyNav,
    wtyContent
  }
};
</script>

<style lang="scss" scoped>
#app {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background-color: rgb(216, 216, 216);
  .header-wrapper {
    width: 100%;
    float: 0 0 70px;
    height: 70px;
  }
  .nav-content {
    flex: 1;
    display: flex;
    padding-top: 20px;
    .nav-wrapper {
      flex: 0 0 300px;
    }
    .content-wrapper {
      flex: 1;
    }
  }
}
</style>
